package conput;

import java.util.concurrent.atomic.AtomicInteger;

public abstract class Server {

    final AtomicInteger size = new AtomicInteger(0);

    public abstract void write(String s) throws InterruptedException;

    public abstract String read(int i) throws InterruptedException;
}
